FIELDSETNN n/a   IE 4   DOM n/a

The FIELDSET object reflects the FIELDSET element.

 
HTML Equivalent
<FIELDSET>
 
Object Model Reference
IE [window.]document.all.elementID
accessKeyNN n/a   IE 4   DOM n/a
 Read/Write
 

A single character key that brings focus to the element. The browser and operating system determine whether the user must press a modifier key (e.g., Ctrl, Alt, or Command) with the access key to bring focus to the element. In IE 4/Windows, the Alt key is required, and the key is not case sensitive. Not working in IE 4/Mac.

 
Example
document.all.myFieldset.accessKey = "n"
 
Value
Single alphanumeric (and punctuation) keyboard character.
 
Default None.
alignNN n/a   IE 4   DOM n/a
 Read/Write
 

Defines the horizontal alignment of the element within its surrounding container. In practice, this property has little effect on the FIELDSET object or its contents.

 
Example
document.all.myFieldset.align = "center"
 
Value
Any of the three horizontal alignment constants: center | left | right.
 
Default left
clientHeight, clientWidthNN n/a   IE 4   DOM n/a
 Read/Write
 

According to Microsoft's developer documentation, these properties reflect the height and width (in pixels) of the element's content.

 
Example
var midHeight = document.all.myFieldset.clientHeight/2
 
Value
Integer pixel value.
 
Default None.
clientLeft, clientTopNN n/a   IE 4   DOM n/a
 Read-only
 

According to Microsoft's developer documentation, these properties reflect the distance between the "true" left and top edges of the document area and the edges of the element. To get or set the pixel position of an element in the document, use the pixelLeft and pixelTop properties.

 
Value
A string value for a length in a variety of units or percentage.
 
Default None.
scrollHeight, scrollWidthNN n/a   IE 4   DOM n/a
 Read-only
 

The meaning of these two properties is ambiguous based on Microsoft's description and the way they're implemented in the Windows and Macintosh versions of Internet Explorer 4. My best guess is that these properties are intended to measure the height and width (in pixels) of the content of an element even when some of the content cannot be seen unless scrolled with scrollbars. The Macintosh version of the browser interprets this to mean the amount of the content that you can see at any one time. The important point is that for key elements, such as the BODY, the properties mean different things and can disrupt cross-platform operation.

 
Example
var midPoint = document.all.myFieldset.scrollHeight/2
 
Value
Positive integer or zero.
 
Default None.
scrollLeft, scrollTopNN n/a   IE 4   DOM n/a
 Read/Write
 

The distance in pixels between the actual left or top edge of the element's physical content and the left or top edge of the visible portion of the content. Setting these properties allows you to use scripts to adjust the scroll of content within a scrollable container, such as text in a TEXTAREA element or an entire document in the browser window or frame. When the content is not scrolled, both values are zero. Setting the scrollTop property to 15 scrolls the document upward by 15 pixels in the window; the scrollLeft property is unaffected unless explicitly changed. The property values change as the user adjusts the scrollbars.

 
Example
document.all.myFieldset.scrollTop = 40
 
Value
Positive integer or zero.
 
Default 0
tabIndexNN n/a   IE 4   DOM 1
 Read/Write
 

A number that indicates the sequence of this element within the tabbing order of all focusable elements in the document. Tabbing order follows a strict set of rules. Elements that have values other than zero assigned to their tabIndex properties are first in line when a user starts tabbing in a page. Focus starts with the element with the lowest tabIndex value and proceeds in order to the highest value, regardless of physical location on the page or in the document. If two elements have the same tabIndex values, the element that comes earlier in the document receives focus first. Next come all elements that either don't support the tabIndex property or have the value set to zero. These elements receive focus in the order in which they appear in the document. A value of -1 removes the element from tabbing order altogether.

Note that the Macintosh user interface does not provide for giving focus to elements other than text and password INPUT fields.

 
Example
document.all.myFieldset.tabIndex = 6
 
Value
Integer.
 
Default None.
blur( )NN n/a   IE 4   DOM n/a

Removes focus from the current element and fires an onBlur event (in IE). No other element necessarily receives focus as a result.

 
Returned Value
None.
 
Parameters
None.
focus( )NN n/a   IE 4   DOM n/a

Gives focus to the current element and fires the onFocus event (in IE). If another element had focus at the time, it receives an onBlur event.

 
Returned Value
None.
 
Parameters
None.